<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/1/29 0029
 * Time: 17:50
 */
namespace app\index\model;
use think\Model;
Class LabApp extends Model{
    protected $autoWriteTimestamp = 'datetime';
    public function lab(){
        return $this->belongsTo('Lab');
    }
    public function user(){
        return $this->belongsTo('User');
    }
}